[VERSN2]
watermark "Mod made by YochiThMaster333"

add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_STARLET SECONDARY_LOGO_STARLET "GlanzaParts\SECONDARY_LOGO_STARLET.dds"
bind_textures synchronize FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES "GlanzaParts\TuningIcons"

move_file override relative absolute GlanzaParts\STARLET.ini scripts\UnlimiterData\STARLET.ini

// Strings
append "Strings\English.end"
append "Strings\French.end"
append "Strings\German.end"
append "Strings\Italian.end"
append "Strings\Russian.end"
append "Strings\Spanish.end"
append "Strings\Danish.end"
append "Strings\Dutch.end"
append "Strings\Finnish.end"
append "Strings\Swedish.end"
append "Strings\Polish.end"
append "Strings\Chinese.end"
append "Strings\Korean.end"

// Those files are actually unloaded to save RAM, so don't worry ^^
delete FRONTEND\FRONTB.LZC

if collection_exists GLOBAL\GLOBALB.LZC CarTypeInfos STARLET
do
remove_collection GLOBAL\GLOBALB.LZC CarTypeInfos STARLET
else
end

if collection_exists GLOBAL\GLOBALB.LZC Collisions STARLET
do
remove_collection GLOBAL\GLOBALB.LZC Collisions STARLET
else
end

if collection_exists GLOBAL\GLOBALB.LZC SlotOverrides STARLET_PART_SPOILER
do
remove_collection GLOBAL\GLOBALB.LZC SlotOverrides STARLET_PART_SPOILER
else
end

copy_collection GLOBAL\GLOBALB.LZC CarTypeInfos PUNTO STARLET
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos STARLET DefaultBasePaint STARLET_PAINT_WHITE
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos STARLET ManufacturerName TOYOTA
copy_collection GLOBAL\GLOBALB.LZC Collisions PUNTO STARLET
copy_collection GLOBAL\GLOBALB.LZC SlotOverrides A3_PART_SPOILER STARLET_PART_SPOILER
import override GLOBAL\GLOBALB.LZC DBModelParts GlanzaParts\STARLET.bin

if directory_exists absolute CARS\STARLET
do
else
create_folder absolute CARS\STARLET
end

move_file override relative absolute Main\GEOMETRY.BIN CARS\STARLET\GEOMETRY.BIN
move_file override relative absolute Main\TEXTURES.BIN CARS\STARLET\TEXTURES.BIN

combobox "Standard Resolution (512x)" "High Resolution (1024x)" "Choose vinyls resolution."

"Standard Resolution (512x)"
move_file override relative absolute Vinyls\512.BIN CARS\STARLET\VINYLS.BIN

"High Resolution (1024x)"
move_file override relative absolute Vinyls\1024.BIN CARS\STARLET\VINYLS.BIN

end

combobox "Super White II" "Bluish Silver Metallic" "Black Metallic" "Super Red II" "Purplish Blue Mica Metallic" "Choose your stock color."

"Super White II"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos STARLET DefaultBasePaint STARLET_PAINT_WHITE

"Bluish Silver Metallic"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos STARLET DefaultBasePaint STARLET_PAINT_SILVER

"Black Metallic"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos STARLET DefaultBasePaint STARLET_PAINT_BLACK

"Super Red II"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos STARLET DefaultBasePaint STARLET_PAINT_RED

"Purplish Blue Mica Metallic"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos STARLET DefaultBasePaint STARLET_PAINT_BLUE

end
